<table class="table table-striped table-bordered table-hover nomargin-bottom">
	<thead>
		<tr>
								<th class="center">类别，0自定义导航，1商品分类，2文章导航，3活动导航，默认为0</th>
			<th class="center">导航标题</th>
			<th class="center">导航链接</th>
			<th class="center">导航位置，0头部，1中部，2底部，默认为0</th>
			<th class="center">是否以新窗口打开，0为否，1为是，默认为0</th>
			<th class="center">排序</th>
			<th class="center">类别ID，对应着nav_type中的内容，默认为0</th>
			<th class="center">isDel</th>
			<th class="center">创建时间</th>
			<th class="center">修改时间</th>

			<th class="center">操作</th>
		</tr>
	</thead>

	<tbody>
		@for(item in page.list){
			<tr>
								<td class="center">${item.navType!}</td>
			<td class="center">${item.navTitle!}</td>
			<td class="center">${item.navUrl!}</td>
			<td class="center">${item.navLocation!}</td>
			<td class="center">${item.navNewOpen!}</td>
			<td class="center">${item.navSort!}</td>
			<td class="center">${item.itemId!}</td>
			<td class="center">${item.isDel!}</td>
			<td class="center">${item.createTime!}</td>
			<td class="center">${item.updateTime!}</td>

				<td class="center">
					<div class="hidden-sm hidden-xs action-buttons">
					@if(auth.hasPermission("base:navigation:edit")){
						<a class="green" href="javascript:void(0);" 
							data-mode="page" data-title="编辑"
							data-url="${ctxPath}/navigation/edit/showlayer"
							data-data="{id:'${item.id}'}" 
						>
							<i class="ace-icon fa fa-pencil bigger-130"></i>
						</a>
					@}
					
					@if(auth.hasPermission("base:navigation:delete")){
						<a class="red" href="javascript:void(0);" 
							data-mode="del" data-title="删除操作"
							data-msg="你确定删除此数据吗?"
							data-url="${ctxPath}/navigation/delete" 
							data-data="{id:'${item.id}',type:'${item.type}',value:'${item.value}'}"
						>
							<i class="ace-icon fa fa-trash-o bigger-130"></i>
						</a>
					@}
					</div>
				</td>
			</tr>
		@}
	</tbody>
</table>
<div class="space-8"></div>
<#paginate page="${page}" />
